<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-Strict.dtd">
<%@taglib prefix="s" uri="/struts-tags" %>
<%@ page import="com.onlineMIS.common.Common_util,java.util.Date,java.text.SimpleDateFormat" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>千禧宝贝连锁店管理信息系统</title>

</head>
<body>
		<s:form id="updateSystemMenuForm" name="updateSystemMenuForm" method="post"
		action="" cssClass="easyui-form" theme="simple"
		onsubmit="return validateForm();">
		<table width="100%" border="0">

			<tr class="InnerTableContent">
				<td width="25%" align="center"><strong style="color:red">*</strong><strong>菜单名称:</strong></td>
				<td><s:hidden name="formBean.menu.id" /> 
						<input name="formBean.menu.menuName" id="itemName"  style="width:350px;" class="easyui-textbox" data-options="prompt:'请输入菜单名称'"  value="<s:property value="formBean.menu.menuName"/>"/>
						</td>
			</tr>
			<tr class="InnerTableContent">
				<td width="25%" align="center"><strong style="color:red">*</strong><strong>菜单路径:</strong></td>
				<td>
					<input name="formBean.menu.menuPath" id="code"  class="easyui-textbox" style="width:350px;" data-options="prompt:'请输入菜单路径(注：菜单路径不能重复，菜单权限路径为:system:模块名称：菜单名称)'"  value="<s:property value="formBean.menu.menuPath"/>"/>
					</td>
			</tr>		
			<tr class="InnerTableContent">
				<td width="25%" align="center"><strong>权限标识:</strong></td>
				<td>
						<input name="formBean.menu.menuSign" id="value"  class="easyui-textbox"  style="width:350px;"data-options="prompt:'请输入权限标识'"  value="<s:property value="formBean.menu.menuSign"/>"/>
						</td>
			</tr>	
			<tr class="InnerTableContent">
				<td width="25%" align="center"><strong>菜单描述:</strong></td>
				<td>
						<input name="formBean.menu.menudescribe" id="value"  class="easyui-textbox"  style="width:350px;"data-options="prompt:'请输入菜单描述'"  value="<s:property value="formBean.menu.describe"/>"/>
						</td>
			</tr>
			<tr class="InnerTableContent">
				<td width="25%" align="center"><strong>上级菜单:</strong></td>
				<td><input style="width:350px;"
						id="tagName" name="formBean.menu.parentId" 
						class="easyui-textbox" data-options="prompt:'请输入上级菜单的ID!'" value="<s:property value="formBean.menu.parentId"/>" /></td>
			</tr>
			<tr class="InnerTableContent">
				<td align="center"><strong style="color:red">*</strong><strong>菜单类型 :</strong></td>
				<td><s:select name="formBean.menu.menuType" id="status"
						cssClass="easyui-combobox" style="width:150px;"
						list="#{'M':'系统菜单','C':'菜单目录','B':'目录按钮'}" listKey="key" listValue="value" /></td>
			</tr>
			<tr class="InnerTableContent">
				<td align="center"><strong>排序 :</strong></td>
				<td><input class="easyui-numberspinner" name="formBean.menu.sort" style="width:150px;" data-options=" " value="<s:property value="formBean.menu.sort"/>"></td>
			</tr>
			<tr class="InnerTableContent">
				<td align="center"><strong>状态 :</strong></td>
				<td><s:select name="formBean.menu.status" id="status"
						cssClass="easyui-combobox" style="width:150px;"
						list="#{'0':'正常','1':'停用'}" listKey="key" listValue="value" /></td>
			</tr>
			<tr class="InnerTableContent">
				<td align="center"><strong>是否隐藏 :</strong></td>
				<td><s:select name="formBean.menu.isHidden" id="isHidden"
						cssClass="easyui-combobox" style="width:150px;"
						list="#{'0':'正常','1':'隐藏'}" listKey="key" listValue="value" /></td>
			</tr>
			
			<tr class="InnerTableContent">
				<td></td>
				<td><a onclick="saveMenu();"
					href="javascript:void(0);" data-options="iconCls:'icon-ok'" class="easyui-linkbutton">保存</a>
					<a onclick="cancel();" href="javascript:void(0);" data-options="iconCls:'icon-redo'"
					class="easyui-linkbutton">退出</a></td>
			</tr>
		</table>
	</s:form>
</body>
</html>